![]() |
GetMenuItemHierarchicalID |
||||
Header: | Menus.h | Carbon status: | Supported | |
Obtains the menu ID of a specified submenu.
OSErr GetMenuItemHierarchicalID ( MenuHandle inMenu, SInt16 inItem, SInt16 *outHierID );
A handle to the menu that contains the menu item for which you wish to get the submenu’s menu ID.
An integer representing the item number of the menu item.
Pass a pointer to a signed 16-bit integer value. On return, the value is set to the menu ID of the submenu.
A result code.
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when CarbonLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CarbonLib 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)